<html>
<head>
<title>While Loop</title>
</head>
<body>
<script type="text/javascript">
var i=0;
while(i<=10)
{
document.write("The value of i is"+i}